<?php
declare (strict_types = 1);

namespace app\admin\controller;
use think\facade\View;
class Index
{
    public function index()
    {
        return view();
//        return '您好！这是一个[admin]示例应用';
    }

    public function info()
    {
        $res=\think\facade\Db::table('ecm_program')->select();
        View::assign('list',$res);

        return view();
    }
    public function pass()
    {
        return view();
    }
    public function adv()
    {
        $res=\think\facade\Db::table('ecm_banner')->select();
        View::assign('list',$res);
        return view();
    }
}
